/*
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * RSSerializer.h
 *
 *  Created on: 2010/02/23
 *      Author: Alexandre Pires ( c.alexandre.pires@gmail.com )
 */

#ifndef RSSERIALIZER_H_
#define RSSERIALIZER_H_

#include "RSGeneralDefs.h"
#include "RSErrors.h"
#include "RSTypes.h"

namespace Realsphere {

    class RSSerializer {
        public:

            static QString serialize ( float value );
            static QString serialize ( qreal value );
            static QString serialize ( bool value );
            static QString serialize ( const QVector4D& value );
            static QString serialize ( const QVector3D& value );
            static QString serialize ( const QVector2D& value );
            static QString serialize ( const QMatrix4x4& value );
            static QString serialize ( int value );
            static QString serialize ( const QString& value );
            static QString serialize ( const QVector<bool>& value );
            static QString serialize ( const QVector<int>& value );
            static QString serialize ( const QVector<float>& value );

    };

}

#endif /* RSSERIALIZER_H_ */
